#include "luatest.h"
#include "gm_luatest.h"
#include "gm_lua.h"
Tst_A* Tst_A::last = new Tst_A;
Tst_B* Tst_B::last = new Tst_B;
Tst_C* Tst_C::last = new Tst_C(1);

void ttttt()
{
FString tt8 = FPaths::GetProjectFilePath();
tt8 = FPaths::EngineDir();
tt8 = FPaths::EngineUserDir();
tt8 = FPaths::EngineContentDir();
tt8 = FPaths::EngineConfigDir();
tt8 = FPaths::EngineIntermediateDir();
tt8 = FPaths::EngineSavedDir();
tt8 = FPaths::EnginePluginsDir();
 tt8 = FPaths::RootDir();
 tt8 = FPaths::GameDir();
 tt8 = FPaths::GameUserDir();
 tt8 = FPaths::GameContentDir();
 tt8 = FPaths::GameConfigDir();
 tt8 = FPaths::GameSavedDir();
 tt8 = FPaths::GameIntermediateDir();
 tt8 = FPaths::GamePluginsDir();
 tt8 = FPaths::SourceConfigDir();
 tt8 = FPaths::GeneratedConfigDir();
 tt8 = FPaths::SandboxesDir();
 tt8 = FPaths::ProfilingDir();
 tt8 = FPaths::ScreenShotDir();
 tt8 = FPaths::BugItDir();
 tt8 = FPaths::VideoCaptureDir();
 tt8 = FPaths::GameLogDir();
 tt8 = FPaths::AutomationDir();
 tt8 = FPaths::AutomationTransientDir();
 tt8 = FPaths::AutomationLogDir();
 tt8 = FPaths::CloudDir();
 tt8 = FPaths::GameDevelopersDir();
 tt8 = FPaths::GameUserDeveloperDir();
 tt8 = FPaths::DiffDir();
TArray<FString> ttt = FPaths::GetEngineLocalizationPaths();
 ttt = FPaths::GetEditorLocalizationPaths();
 ttt = FPaths::GetPropertyNameLocalizationPaths();
 ttt = FPaths::GetToolTipLocalizationPaths();
 ttt = FPaths::GetGameLocalizationPaths();
tt8 = FPaths::GameAgnosticSavedDir();
tt8 = FPaths::GameSourceDir();
tt8 = FPaths::StarterContentDir();
tt8 = FPaths::GetProjectFilePath();

}

void testlua()
{
	GmLua* ptr = new GmLua();
	ptr->init();
	ptr->doFile("D:/other/3lxl3/ue4/luatest/Content/lua/gm_init.lua");
	std::string ret = ptr->callFunction("test1", "testa");
	ret = ptr->callFunction("testtb", "testname", "testa");
	ttttt();
}
